﻿<Window x:Class="Blackbird.Studio.View.EditableFramesetPreviewView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="{Binding DisplayName}" Height="Auto" Width="Auto" 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        d:DataContext="{Binding  Source={StaticResource ResourceKey=StaticViewModel}, Path=Instance.EditableFramesetViewModel}"
        >
    <Grid>
        <StackPanel>
            <Canvas Name="PreviewCanvas" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Width="{Binding Model[0].Width}" Height="{Binding Model[0].Height}"></Canvas>
            <Button Content="Close" Command="Close" Style="{StaticResource PaperButtonStyle}" HorizontalAlignment="Right" />
        </StackPanel>
    </Grid>
</Window>
